package com.jlnk.retrofitdemo.response;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class HotNewsResponse {
    @SerializedName("code")
    private int code;

    @SerializedName("msg")
    private String message;

    @SerializedName("data")
    private List<Result> results;

    public List<Result> getResults() {
        return results;
    }

    public static class Result {
        @SerializedName("name")
        private String title;

        @SerializedName("url")
        private String link;

        public String getTitle() {
            return title;
        }

        public String getLink() {
            return link;
        }
    }
}